package com.iye.puretennis.activity.test;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.iye.puretennis.R;

/**
 * Author: Chuanbao on 2014/11/5.
 */
public class LayoutControlActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layoutcontrol);
    }

    public void startLinearLayoutActivity(View view){
        Intent intent = new Intent(this,DropdownTestActivity.class);
        startActivity(intent);
    }
    public void startRelativeLayoutActivity(View view){
        setContentView(R.layout.relativelayout);
    }
    public void startListViewActivity(View view){
        setContentView(R.layout.listviewlayout);

    }

    public void loadGroups(View view) {
        Intent intent = new Intent(this,GroupsActivity.class);
        startActivity(intent);
    }
}
